package domain.components;

import com.uqbar.vainilla.DeltaState;
import components.CollisionableComponent;

import domain.scenes.MainGameScene;

public abstract class WormsComponent extends CollisionableComponent<MainGameScene, WormsComponent> {

	public WormsComponent(int aDiameter, int aHeight, double x, double y) {
		super(aDiameter, aHeight, x, y);
	}

	@Override
	public abstract boolean isSolid();

	@Override
	protected abstract void onCollisionWithSolid(WormsComponent gc);
		

	@Override
	protected abstract void defineCollide(WormsComponent gc);
	@Override
	protected abstract void effectiveUpdate(DeltaState deltaState);

	public void collideWithProyectile(Bullet bullet) {
		
	}
		


}
